package com.wonders.hisdoctor.station.project.base.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wonders.hisdoctor.station.project.base.domain.OutpPresc;
import com.wonders.hisdoctor.station.project.base.mapper.OutpPrescMapper;
import com.wonders.hisdoctor.station.project.base.service.IOutpPrescService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 门诊医嘱处方明细记录：每条医嘱主记录可以对应多条处方医嘱明细记录。 服务类
 * </p>
 *
 * @author tong_aj
 * @since 2021/01/19
 */
@Service
public class OutpPrescServiceImpl extends ServiceImpl<OutpPrescMapper, OutpPresc> implements IOutpPrescService {

    @Autowired
    private OutpPrescMapper outpPrescMapper;

    @Override
    public int deleteBatchIds(List<OutpPresc> outpPrescs) {
        return outpPrescMapper.deleteBatchIds(outpPrescs);
    }
}
